<?php


	require_once( PATH_FRAMEWORK_LIBRARY
				._SEPARATOR_SO
				.'bm'
				._SEPARATOR_SO
				.'exception'
				._SEPARATOR_SO
				.'IException.class.php');
				
	require_once( PATH_FRAMEWORK_LIBRARY
				._SEPARATOR_SO
				.'bm'
				._SEPARATOR_SO
				.'exception'
				._SEPARATOR_SO
				.'CustonException.class.php');
	
	require_once( PATH_FRAMEWORK_LIBRARY
				._SEPARATOR_SO
				.'bm'
				._SEPARATOR_SO
				.'exception'
				._SEPARATOR_SO
				.'AppException.class.php');

function showAppException( $e ){
	
	ob_start();
	ob_end_clean();	
	ob_start();
					
	echo '<div>'
		.'Trace:<br>'
		.$e->getTraceAsString()
		.'<br>File:<br>'
		.$e->getFile()
		.'<br>Code:<br>'
		.$e->getCode()
		.'<br>Line:<br>'
		.$e->getLine()
		.'<br>Message:<br>'
		.$e->getMessage()
		.'</div>';
		
	exit();
}

?>